<div class="sidebar" id="sidebar">


<ul class="nav nav-list">
	<li <?php if(curCA('controller') == 'default' && curCA('action') == 'index') echo 'class="active"'?>>
		<a href="<?php echo PIUrl::createUrl('/admin');?>">
			<i class="icon-dashboard"></i>
			<span class="menu-text"> Trang chủ </span>
		</a>
	</li>
	<li <?php if(curCA('controller') == 'system' && curCA('action') == 'index') echo 'class="active"'?>>
		<a href="<?php echo PIUrl::createUrl('/admin/system');?>">
			<i class="icon-text-width"></i>
			<span class="menu-text"> Cài đặt </span>
		</a>
	</li>
	<li <?php if(curCA('controller') == 'informations' || curCA('controller') == 'teachers' || curCA('controller') == 'facilities') echo 'class="active"'?>>
		<a href="#" class="dropdown-toggle">
			<i class="icon-list"></i>
			<span class="menu-text"> Thông tin</span>
			<b class="arrow icon-angle-down"></b>
		</a>
		<ul class="submenu">
			<li>
				<a href="<?php echo PIUrl::createUrl('/admin/informations');?>">
					<i class="icon-text"></i>
					<span class="menu-text"> Giới thiệu </span>
				</a>
			</li>
			<li>
				<a href="<?php echo PIUrl::createUrl('/admin/teachers');?>">
					<i class="icon-double-angle-right"></i>
					<span class="menu-text"> Đội ngũ giáo viên </span>
				</a>
			</li>
			
			<li>
				<a href="<?php echo PIUrl::createUrl('/admin/facilities');?>">
					<i class="icon-double-angle-right"></i>
					<span class="menu-text"> Cơ sở vật chất </span>
				</a>
				
			</li>
		</ul>
	</li>
	<li <?php if(curCA('controller') == 'news' ||  curCA('controller') == 'index') echo 'class="active"'?>>
		<a href="#" class="dropdown-toggle">
			<i class="icon-text-width"></i>
			<span class="menu-text"> Bài viết </span>
			<b class="arrow icon-angle-down"></b>
		</a>
		
		<ul class="submenu">
			<li>
				<a href="<?php echo PIUrl::createUrl('/admin/news/1');?>">
					<i class="icon-double-angle-right"></i>
					Thông báo
				</a>
				
			</li>
			<li>
				<a href="<?php echo PIUrl::createUrl('/admin/news/2');?>">
					<i class="icon-double-angle-right"></i>
					Tin tức
				</a>
			</li>
			<li>
				<a href="<?php echo PIUrl::createUrl('/admin/news/3');?>" class="dropdown-toggle">
					<i class="icon-double-angle-right"></i>
					Góc phụ huynh
				</a>
			</li>
			<li>
				<a href="<?php echo PIUrl::createUrl('/admin/news/4');?>">
					<i class="icon-double-angle-right"></i>
					Góc dinh dưỡng
				</a>
				
			</li>
			
		</ul>
	</li>
	
	<li <?php if(curCA('controller') == 'images' ||  curCA('controller') == 'albums' ||  curCA('controller') == 'slides' ) echo 'class="active"'?>>
		<a href="#" class="dropdown-toggle">
			<i class="icon-picture"></i>
			<span class="menu-text"> Thư viện hình ảnh </span>
			<b class="arrow icon-angle-down"></b>
		</a>
		
		<ul class="submenu">
			<li>
				<a href="<?php echo PIUrl::createUrl('/admin/albums/create');?>">
					<i class="icon-double-angle-right"></i>
					Thêm albums
				</a>
				
			</li>
			<li>
				<a href="<?php echo PIUrl::createUrl('/admin/albums/');?>">
					<i class="icon-double-angle-right"></i>
					Danh sách Albums
				</a>
			</li>
			<li>
				<a href="<?php echo PIUrl::createUrl('/admin/images/create/');?>" class="dropdown-toggle">
					<i class="icon-double-angle-right"></i>
					Thêm hình ảnh
				</a>
			</li>
			
			<li>
				<a href="<?php echo PIUrl::createUrl('/admin/slides/');?>">
					<i class="icon-double-angle-right"></i>
					Thêm slideshow
				</a>
				
			</li>
			
		</ul>
	</li>
	
	<li <?php if(curCA('controller') == 'comments' && curCA('action') == 'index') echo 'class="active"'?>>
		<a href="<?php echo PIUrl::createUrl('/admin/comments');?>">
			<i class="icon-edit"></i>
			<span class="menu-text"> Thư liên hệ </span>
		</a>
	</li>
</ul><!--/.nav-list-->

<div class="sidebar-collapse" id="sidebar-collapse">
	<i class="icon-double-angle-left"></i>
</div>
</div>
